<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>Sanity Test</title>

<style type="text/css">
<!--
body {font-family: Microsoft YaHei, Arial, Helvetica, sans-serif, Simsun;}
table {width: 100%; border: solid 0px #111111;}
td {vertical-align: top;}
a {color: #0000ff;}
h1 {margin-top: 0; border-bottom: solid 4px #3366cc; color: #3366cc;}
h3 {color: #3366cc;}
h6 {color: #3366cc; text-align: center;}

div#menu {margin: 0; padding: 0; border: solid 1px #cccccc; background-color: #f9f9f9;}
div#menu ul {margin: 0; margin-left: 3px; padding: 5px;}
div#menu li {list-style: none; border: solid 2px #f9f9f9;}
div#menu a { padding: 3px; display: block; color: #0000cc; border: solid 2px #cccccc; text-decoration: none; font-weight: bold;}
div#menu a:hover {color: #0000ff; background-color: #ffffff; border: outset 2px #3366cc;}

#content {margin-left: 2%; border: solid 0px #666666; background-color: #ffffff;}
#content h2 {margin: 0; margin-bottom: 2%;}
#content p {text-align: justify; margin: 5px;}

#layout {width: 775px; padding-left: 8px; padding-bottom: 8px; border: solid 1px #cccccc;}
#layout h2 {color: #3366cc; border-bottom: solid 2px #3366cc;}

#left {background-color: #ffffff; float:left}


#right {float: right; width: 200px; border: solid 0px #cccccc; background-color: #ffffff; margin-left: 10px;}

.module {border: solid 1px #dddddd; padding: 0; margin-bottom: 3%; margin-right: 5px;}
.module  h3 {background-color: #3366cc; color: #ffffff; margin: 0; padding: 1px; padding-left: 4px;}
.module  h5 {background-color: #eeeeee; color: #3366cc; margin: 0; margin-bottom: 10px; padding-left: 3px;}
.module ul {margin: 0; padding: 7px;}
.module li {list-style: none;}

.node {width: 550px; border: solid 1px #dddddd; padding: 0; margin-bottom: 2%;}
.node h3 {background-color: #3366cc; color: #ffffff; margin: 0; padding: 1px; padding-left: 4px;}
.node h5 {background-color: #eeeeee; color: #3366cc; margin: 0; margin-bottom: 10px; padding-left: 3px;}

.HackBox{border-top:1px solid transparent !important;margin-top:-1px !important;border-top:0;margin-top:0;clear:both;visibility:hidden;}

.formButton {margin-left:8px; BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: center; BORDER-LEFT: #b2afaf 1px solid; BACKGROUND-COLOR: #7085ae; WIDTH: 70px; HEIGHT: 23px; COLOR: #ffffff; FONT-SIZE: 11px; VERTICAL-ALIGN: middle; BORDER-TOP: #b2afaf 1px solid; CURSOR: hand; FONT-WEIGHT: bold; MARGIN-RIGHT: 10px; BORDER-RIGHT: #000000 1px solid}
.errorLabel, .errorMessage{color:#FF0000;} 
.new{color:#FF0000; font-size:12px;}
-->
</style>
<body>
</head>
<h1>后台</h1>

<div id="content">
<div id="layout">

<h2>新版图片上传</h2>
<!-- Start Left -->
<div id="left">
<div class="node">
<h3>表单</h3>
	<p><s:actionmessage /></p>

	<p><s:actionerror /></p>
	
    <pre><s:property value="exceptionStack" /></pre>
	
<p>
     <s:form action="newimage" method="post" name="form1" enctype="multipart/form-data" target="_self" >
     	<s:textfield name="fid" label="图片id" />
     	<s:textfield name="tag" label="图片标签" />
        <s:file name="image" label="图片" />
        <s:token />
        <s:submit  cssClass="formButton" value="提 交" />
     </s:form>
</p>
</div>
</div>
<!-- End Left -->

<!-- Start Right -->
<div id="right">

<div class="module">
<h5>帮助</h5>
<p>
请选择图片然后点击[提交]按钮
</p>
</div>
</div>
<!-- End Right -->
    <div style="clear:both"></div>
</div>
<!-- End #layout -->
</div>
<!-- End #content -->


</body>
</html>